package com.zktr.pojo;

import java.util.Date;

public class Users {
	private int userid;
	private String username;
	private String email;
	private String password;
	private boolean sex;
	private Date birthday;
	private int paypoints;
	private int rankpoints;
	private int regtime;
	private int lastlogin;
	private String mobilephone;
	private String interest;
	private int userrank;
	private int addressid;
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public boolean getSex() {
		return sex;
	}
	public void setSex(boolean sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public int getPaypoints() {
		return paypoints;
	}
	public void setPaypoints(int paypoints) {
		this.paypoints = paypoints;
	}
	public int getRankpoints() {
		return rankpoints;
	}
	public void setRankpoints(int rankpoints) {
		this.rankpoints = rankpoints;
	}
	public int getRegtime() {
		return regtime;
	}
	public void setRegtime(int regtime) {
		this.regtime = regtime;
	}
	public int getLastlogin() {
		return lastlogin;
	}
	public void setLastlogin(int lastlogin) {
		this.lastlogin = lastlogin;
	}
	public String getMobilephone() {
		return mobilephone;
	}
	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}
	public String getInterest() {
		return interest;
	}
	public void setInterest(String interest) {
		this.interest = interest;
	}
	public int getUserrank() {
		return userrank;
	}
	public void setUserrank(int userrank) {
		this.userrank = userrank;
	}
	public int getAddressid() {
		return addressid;
	}
	public void setAddressid(int addressid) {
		this.addressid = addressid;
	}
	@Override
	public String toString() {
		return "Users [userid=" + userid + ", username=" + username + ", email=" + email + ", password=" + password
				+ ", sex=" + sex + ", birthday=" + birthday + ", paypoints=" + paypoints + ", rankpoints=" + rankpoints
				+ ", regtime=" + regtime + ", lastlogin=" + lastlogin + ", mobilephone=" + mobilephone + ", interest="
				+ interest + ", userrank=" + userrank + ", addressid=" + addressid + "]";
	}
	public Users(int userid, String username, String email, String password, boolean sex, Date birthday, int paypoints,
			int rankpoints, int regtime, int lastlogin, String mobilephone, String interest, int userrank,
			int addressid) {
		this.userid = userid;
		this.username = username;
		this.email = email;
		this.password = password;
		this.sex = sex;
		this.birthday = birthday;
		this.paypoints = paypoints;
		this.rankpoints = rankpoints;
		this.regtime = regtime;
		this.lastlogin = lastlogin;
		this.mobilephone = mobilephone;
		this.interest = interest;
		this.userrank = userrank;
		this.addressid = addressid;
	}
	public Users() {
	}
}
